//
//  HHSearchBar.h
//  UPhone
//
//  Created by xhkj on 2021/8/31.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface SYYSearchBar : UISearchBar

- (instancetype)initTitleViewSearchBarWithFrame:(CGRect)frame title:(NSString *)title touchBlock:(void(^)(void))touchBlock beginEditingBlock:(void(^)(void))beginEditingBlock endEditingBlock:(void(^)(NSString *searchText))endEditingBlock;

@property (nonatomic, copy) void(^SearchClearBlock)(NSString *searchText);

@end

NS_ASSUME_NONNULL_END
